Imports System.Data.SqlClient
Imports TaxonNamesInterface
Imports System.ServiceModel

<ServiceContract()> _
Public Interface IReferences

#Region "References"
    <OperationContract()> _
    Function GetReference(ByVal referenceId As Guid) As Reference
    <OperationContract()> _
    Function SearchReferences(ByVal searchTxt As String, ByVal maxResults As Integer) As List(Of Reference)
    <OperationContract()> _
    Sub DeleteReference(ByVal refLsid As String, ByVal newRefLsid As String, ByVal user As String)
    <OperationContract()> _
    Function GetReferenceLSIDs(ByVal pageNumber As Integer, ByVal pageSize As Integer) As List(Of String)

#End Region

#Region "ReferenceRIS"

    <OperationContract()> _
    Function GetReferenceRISByReference(ByVal refId As Guid) As ReferenceRIS

#End Region


End Interface
